package com.supermap.dataservice.cloud.cropland;

import com.alibaba.dubbo.config.annotation.Service;
import com.supermap.dubbo.api.cloud.farm.CroplandService;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @author aqua
 * @description
 * @date 2018年11月14 上午 9:44
 * @email 1301584033@qq.com
 */
@Service
public class CroplandServiceImpl implements  CroplandService{

    @Resource
    private CroplandMapper croplandMapper;
    @Override
    public List<Map<String, Object>> getFarmLandById(String farmId, String pageNum, String pageSize) {

        return croplandMapper.getFarmLandById(farmId,pageNum,pageSize);
    }

    @Override
    public List<Map<String, Object>> getAdvFarmById(String farmId, String pageNum, String pageSize) {
        return croplandMapper.getAdvFarmById(farmId,pageNum,pageSize);
    }

    @Override
    public List<Map<String, Object>> getDisasterFarmById(String farmId, String pageNum, String pageSize) {
        return croplandMapper.getDisasterFarmById(farmId,pageNum,pageSize);
    }
}
